{extend name="layout"}
{block name="detail"}
<header class="aui-header-default aui-header-fixed aui-header-bg">
    <a href="{:url('index/shop/product_dtl',['id'=>$id,'sid'=>$sid])}" class="aui-header-item">
        <i class="aui-icon aui-icon-back-white"></i>
    </a>
    <div class="aui-header-center aui-header-center-clear">
        <div class="aui-header-center-logo">
            <div class="aui-car-white-Typeface">商品评价</div>
        </div>
    </div>
</header>
<div class="aui-content-box" style="padding-top:41px;" >
    {volist name="comments" id="comment"}
    <section class="aui-card-content">
        <div class="aui-card-box">
            <div class="aui-card-box-user">
                <img src="{$comment.userImg}">
            </div>
            <div class="aui-card-box-name">
                <h2 class="aui-card-box-name">
                    {$comment.nickname}
                </h2>
                <span class="aui-card-box-btn" style="border:none;color:#000;">
                   {$comment_type[$comment['cType']]}
                </span>
            </div>
            <div class="aui-card-box-time">
                {$comment.createTime|date="Y-m-d H:i:s",###}
            </div>
        </div>
        <div class="aui-card-media">
            <div class="aui-card-media-inner">
                <div class="aui-card-media-text">
                    <p>  {$comment.content}</p>
                </div>
<!--                <div class="aui-card-media-describe" style="margin-top:5px;">-->
<!--                    <div class="aui-list-title-btn" style="text-align:left;">-->
<!--                        <span>' + (d.isreply == 1 ? ('回复：' + d.reply) : '') + '</span>-->
<!--                    </div>-->
<!--                </div>-->
            </div>
        </div>
    </section>
    <div class="aui-dri"></div>
    {/volist}
</div>
<div style="height:100px;"></div>
{/block}
{block name="footer_js"}
<script src="__STATIC__/js/h5/product_comment.js?v={$v}"></script>
{/block}
